﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage<InvoiceInvoker.MvcUI.ViewModels.PatternsViewModel>" %>

<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
	Edytuj szablon faktury - InvoiceInvoker
</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">

    <h3>Edytujesz szablon faktury</h3>

	<% Html.EnableClientValidation(); %>

    <% using (Html.BeginForm()) { %>
        
		<%: Html.EditorFor(model => model.Pattern, new { Customers = Model.Customers, PaymentTypes = Model.PaymentTypes }) %>
        <p>
            <input type="submit" value="Zapisz" />
        </p>

    <% } %>

    <div>
        <%: Html.ActionLink("Powrót do szablonów faktur", "Index") %>
    </div>

</asp:Content>

